﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace TianShiProject.Models.CarService.Maintains
{
    public class MaintainDto
    {
        /// <summary>
        /// Id
        /// </summary>
        public int Id { get; set; }
        /// <summary>
        /// 编号
        /// </summary>
        public string MaintainNumber { get; set; }
        /// <summary>
        /// 维修标题
        /// </summary>
        public string Title { get; set; }
        /// <summary>
        /// 车牌号
        /// </summary>
        public string CarNumber { get; set; }
        /// <summary>
        /// 车牌号
        /// </summary>
        public string License { get; set; }
        /// <summary>
        /// 维修金额
        /// </summary>
        public Decimal MaintainMoney { get; set; }
        /// <summary>
        /// 维修负责人
        /// </summary>
        public string MaintainManager { get; set; }
        /// <summary>
        /// 维修描述
        /// </summary>
        public string MaintainDesc { get; set; }
        /// <summary>
        /// 维修日期
        /// </summary>
        public DateTime MaintainTime { get; set; }
        public string MaintainTimes { get { return MaintainTime.ToString("yyyy-MM-dd"); } }
        /// <summary>
        /// 备注
        /// </summary>
        public string Remark { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }
        public string CreateTimes { get { return CreateTime.ToString("yyyy-MM-dd"); } }
        /// <summary>
        /// 是否删除
        /// </summary>
        public int IsDelete { get; set; }
    }
}
